#ifndef A6_TRUCK_H
#define A6_TRUCK_H
#include <uC++.h>
#include "Printer.h"
#include "NameServer.h"
#include "BottlingPlant.h"
#include "VendingMachine.h"
#include "Global.h"

_Task BottlingPlant;

_Task Truck 
{
    Printer& 		myPrinter;
    NameServer& 	myNameServer;
    BottlingPlant& 	myPlant;
	unsigned int 	myNumVendingMachines;
	unsigned int 	myMaxStockPerFlavour;
	unsigned int*   myCargo;
	void main();
public:
	~Truck();
	Truck( Printer &prt, NameServer &nameServer, BottlingPlant &plant,
			unsigned int numVendingMachines, unsigned int maxStockPerFlavour );
};

#endif
